const state = {
    count: 0
};

const getters = {};

const actions = {
    add({ commit }){
        commit('add')
    },
    minutes({ commit }){
        commit('minutes');
    }
}

const mutations = {
    add(state){
        state.count++;
    },
    minutes(state){
        state.count--;
    }
}

export default {
    namespaced: true,
    state,
    getters,
    actions,
    mutations
}